<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>{blog_title}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <!-- Le styles -->
        <?php
        echo '<link href="' . base_url() . 'assets/css/bootstrap.css" rel="stylesheet">';
        echo '<link href="' . base_url() . 'assets/css/bootstrap-responsive.css" rel="stylesheet">';
        echo '<link href="' . base_url() . 'assets/css/docs.css" rel="stylesheet">';
        echo '<link href="' . base_url() . 'assets/js/google-code-prettify/prettify.css" rel="stylesheet">';
        echo '<link rel="shortcut icon" href="' . base_url() . 'assets/ico/favicon.ico">';
        echo '<link rel="apple-touch-icon-precomposed" sizes="144x144" href="' . base_url() . 'assets/ico/apple-touch-icon-144-precomposed.png">';
        echo '<link rel="apple-touch-icon-precomposed" sizes="114x114" href="' . base_url() . 'assets/ico/apple-touch-icon-114-precomposed.png">';
        echo '<link rel="apple-touch-icon-precomposed" sizes="72x72" href="' . base_url() . 'assets/ico/apple-touch-icon-72-precomposed.png">';
        echo '<link rel="apple-touch-icon-precomposed" href="' . base_url() . 'assets/ico/apple-touch-icon-57-precomposed.png">';
        ?>
    </head>
    <body data-spy="scroll" data-target=".bs-docs-sidebar">
        <!-- Navbar
        ================================================== -->
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <?php echo anchor('main/logout', 'Logout', 'class="brand"') ?>
                    <div class="nav-collapse collapse">
                        <ul class="nav">
                            <li class="<?php
                    if ($this->uri->segment(2) == 'home') {
                        echo 'active';
                    }
                    ?>">
                                    <?php echo anchor('admin', 'Home') ?>
                            </li>
                            <li class="<?php
                                    if ($this->uri->segment(2) == 'produk') {
                                        echo 'active';
                                    }
                                    ?>">
                                    <?php echo anchor('admin/produk', 'Produk') ?>
                            </li>
                            <li class="dropdown <?php
                                    if ($this->uri->segment(2) == 'omset') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'add_transaksi') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'transaksi') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'pengeluaran') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'customer') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'keuntungan') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'bagiHasil') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'bca') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'paypal') {
                                        echo 'active';
                                    } elseif ($this->uri->segment(2) == 'domain') {
                                        echo 'active';
                                    }
                                    ?>">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Report <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    <li class="divider"></li>
                                    <li class="nav-header">User Management</li>
                                    <li class="<?php
                                if ($this->uri->segment(2) == 'customer') {
                                    echo 'active';
                                }
                                    ?>"><?php echo anchor('admin/customer', 'Customer') ?></li>
                                    <li class="divider"></li>
                                    <li class="nav-header">Fund</li>
                                    <li class="<?php
                                        if ($this->uri->segment(2) == 'transaksi') {
                                            echo 'active';
                                        }
                                    ?>"><?php echo anchor('admin/transaksi', 'Transaksi') ?></li>
                                    <li class="<?php
                                        if ($this->uri->segment(2) == 'omset') {
                                            echo 'active';
                                        }
                                    ?>"><?php echo anchor('admin/omset', 'Omset') ?></li>
                                    <li class="<?php
                                        if ($this->uri->segment(2) == 'pengeluaran') {
                                            echo 'active';
                                        }
                                    ?>"><?php echo anchor('admin/pengeluaran', 'Pengeluaran') ?></li>
                                    <li class="<?php
                                        if ($this->uri->segment(2) == 'keuntungan') {
                                            echo 'active';
                                        }
                                    ?>"><?php echo anchor('admin/keuntungan', 'Keuntungan') ?></li>
                                    <li class="<?php
                                        if ($this->uri->segment(2) == 'bagiHasil') {
                                            echo 'active';
                                        }
                                    ?>"><?php echo anchor('admin/bagiHasil', 'Bagi Hasil') ?></li>
                                    
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- Subhead
        ================================================== -->
        <header class="jumbotron subhead" id="overview">
            <div class="container">
                <h1>Sistem Informasi Keuangan</h1>
                <p class="lead">Laporan pemasukan, pengeluaran dan keuangan perusahaan</p>
            </div>
        </header>